# Internal驱动测试构建文件

test_manager_sources = [
  '../../main.cpp',
  'test_manager.cpp',
  'chip/test_chip_ads78.cpp',
]

test_manager = executable(
  'test_manager',
  test_manager_sources,
  include_directories: [
    include_directories('.'),
    include_directories('../../..'),
    include_directories('../../../drivers/internal'),
    include_directories('../../../include'),
    include_directories('../../../gen'),
  ],
  dependencies: [
    gtest_dep,
    test_utilities_dep,
    test_utils_dep,
    libmcpp_deps,
    internal_dep,
  ],
  cpp_args: ['-DUNIT_TEST'],
  install: false,
  link_whole: [internal_static_lib],
)

test('test_manager', test_manager, timeout: 300, suite: 'internal')
